package com.hmall.order.comment;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;
import org.springframework.stereotype.Component;

@Component
public class snow {
    private long workerId=0;
    private long datacenterId=1;
    private Snowflake snowflake= IdUtil.createSnowflake(workerId,datacenterId);
}
